package com.twm.drug.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestController {
    @RequestMapping("/testString") //访问地址
    @ResponseBody //返回到页面
    public String testString(){
        return "大家好，我是testController";
    }
}
